Since the clusters can be degenerated or highly flat, these cause very
large positive or negative exponents in densities.
The log likelihood will tend to be inaccurate (not finite).
Since the mixture structures can be over fit, this also cause very
tiny mixing proportions.
The poster probabilities can also unstable (NaN).
These can be solved by rescaling the range of exponents carefully
and adjust the scaling factor on the log values.
See CONTROL for details about constrains on E- and M-steps.
Details
This function will base on the current parameter to
compute the densities for all observations for all
K components, and update the Z.spmd matrix.
If the update.logL is true, then the log likelihood
W.spmd.rowSums will be also updated before the end
of this function.
Sum of W.spmd.rowSums of all processors will be the
observed data log likelihood for the current iteration.
References
High Performance Statistical Computing (HPSC) Website:
http://thirteen-01.stat.iastate.edu/snoweye/hpsc/
Programming with Big Data in R Website:
http://r-pbd.org/